<!--
    group: 我的账户
    name: 账户管理
    url: /myAccount/accountManage
-->
<template>
  <oldSysAccountManage v-if='fundFlag ==1'></oldSysAccountManage>
  <newSysAccountManage v-else-if='fundFlag ==2'></newSysAccountManage>
</template>

<script>
import oldSysAccountManage from './oldSysAccountManage'
import newSysAccountManage from './newSysAccountManage'
export default {
  name: 'accountManage',
  components:{
    oldSysAccountManage,
    newSysAccountManage
  },
  data() {
    return {
      fundFlag:null,
    }
  },
  created() {
    const fundFlagInfo = localStorage.getItem('fundFlagInfo')
    this.fundFlag = fundFlagInfo;
    console.log('@@@@@@@@@@@@@@@@@@@@@', fundFlagInfo);
  },
  computed: {
  },
  methods: {
  }
}
</script>

